
public class MainApp {

	public static void main(String[] args) {
		Fraction a = new Fraction(1, 3);
		a.print();
		Fraction b = new Fraction(9, 5);
		b.print();
		Fraction c = a.cheng(b);
		c.print();
		Fraction d = new Fraction(20, 25);
		d.print();
	}

//	public static Fraction cheng(Fraction a, Fraction b) {
//		int xinFenZi = a.getFenZi() * b.getFenZi();
//		int xinFenMu = a.getFenMu() * b.getFenMu();
//		Fraction xinFenShu = new Fraction(xinFenZi, xinFenMu);
//		return xinFenShu;
//	}
}
